package org.lendoo.web.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lendoo.web.entity.Category;
import org.lendoo.web.entity.Image;

import java.util.List;

/**
 * 分类和其对应的图片列表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "RelCategoryAndImageUrlListDto", description = "分类和其对应的图片列表")
public class RelCategoryAndImageUrlListDto {

    @ApiModelProperty(value = "分类", dataType = "Category")
    private Category category;

    @ApiModelProperty(value = "图片列表", dataType = "List")
    private List<Image> imageList;
}
